package com.pengpeng.sheepfoldmall.product.dao;

import com.pengpeng.sheepfoldmall.product.entity.AttrAttrgroupRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性&属性分组关联
 * 
 * @author pengpeng
 * @email pengpeng@gmail.com
 * @date 2023-08-30 15:43:37
 */
@Mapper
public interface AttrAttrgroupRelationDao extends BaseMapper<AttrAttrgroupRelationEntity> {

    /**
     * 删除分组，并级联删除分组关联的属性关系
     * @param asList
     */
    void removeGroupAndRelation(@Param("list") List<Long> asList);
}
